package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IAlertDataService;
import com.zzyl.nursing.service.IAlertRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 报警规则定时任务
 * @author: JBY
 * @since: 2025/08/26 14:55
 */
@Component
public class AlertRuleFilter {

    @Autowired
    private IAlertDataService alertDataService;

    public void updateAlertRule() {
        //自动过滤报警规则
        //System.out.println("启动!!!!!!!!!");
        alertDataService.alertRuleFilter();
    }
}
